//
//  RDetailModel.m
//  EPAa
//
//  Created by lanou3g on 16/4/22.
//  Copyright © 2016年 李日青. All rights reserved.
//

#import "RDetailModel.h"

@implementation RShareinfo

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    NSLog(@"嘻嘻嘻嘻嘻嘻：%@",value);
}

@end

@implementation RDetailModel
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"shareinfo"]) {
        self.shareModel = [RShareinfo new];
        [self.shareModel setValuesForKeysWithDictionary:value];
    }
    NSLog(@"狠狠路%@",value);
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}
@end
